package com.zdy.im.user.vo.request;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

public class RoomUserRequestVo extends RequestParserVo {

    /** userId 用户id  */
    @ApiDesc(value = "用户id", required = 1)
    private long userId;
    /** roomId 群id  */
    @ApiDesc(value = "群id", required = 1)
    private long roomId;



    public static RoomUserRequestVo build(){
        return new RoomUserRequestVo();
    }

    public RoomUserRequestVo toUserId(long userId) {
        this.userId = userId;
        return this;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public RoomUserRequestVo toRoomId(long roomId) {
        this.roomId = roomId;
        return this;
    }

    public long getRoomId() {
        return roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }
}
